package com.zhaojindong.ioc.component.autowiring;

import lombok.*;
import lombok.extern.log4j.Log4j;
import org.springframework.stereotype.Component;

@Log4j
@Component
@NoArgsConstructor
@AllArgsConstructor
public class Car {

    private Integer id = 1;

    @Override
    public String toString() {
        return "Car{id=" + id + "}";
    }
}